package com.dhn.entity;

public class Sys_roles {
        private Integer id;
        private String role_name;
        private String description;
        private Integer is_lock;
        private String created_time;
        private String updated_time;
        private Integer page=0;
        private Integer limit=5;

        @Override
        public String toString() {
            return "sys_roles{" +
                    "id=" + id +
                    ", role_name='" + role_name + '\'' +
                    ", description='" + description + '\'' +
                    ", is_lock=" + is_lock +
                    ", created_time='" + created_time + '\'' +
                    ", updated_time='" + updated_time + '\'' +
                    ", page=" + page +
                    ", limit=" + limit +
                    '}';
        }

        public Integer getId() {
            return id;
        }

        public void setId(Integer id) {
            this.id = id;
        }

        public String getRole_name() {
            return role_name;
        }

        public void setRole_name(String role_name) {
            this.role_name = role_name;
        }

        public String getDescription() {
            return description;
        }

        public void setDescription(String description) {
            this.description = description;
        }

        public Integer getIs_lock() {
            return is_lock;
        }

        public void setIs_lock(Integer is_lock) {
            this.is_lock = is_lock;
        }

        public String getCreated_time() {
            return created_time;
        }

        public void setCreated_time(String created_time) {
            this.created_time = created_time;
        }

        public String getUpdated_time() {
            return updated_time;
        }

        public void setUpdated_time(String updated_time) {
            this.updated_time = updated_time;
        }

        public Integer getPage() {
            return page;
        }

        public void setPage(Integer page) {
            this.page = page;
        }

        public Integer getLimit() {
            return limit;
        }

        public void setLimit(Integer limit) {
            this.limit = limit;
        }

        public Sys_roles() {
        }

        public Sys_roles(Integer id, String role_name, String description, Integer is_lock, String created_time, String updated_time, Integer page, Integer limit) {
            this.id = id;
            this.role_name = role_name;
            this.description = description;
            this.is_lock = is_lock;
            this.created_time = created_time;
            this.updated_time = updated_time;
            this.page = page;
            this.limit = limit;
        }
    }


